﻿<controls:ChildWindow x:Class="Songhay.Silverlight.BiggestBox.IndexPart.Views.PackedXamlChildWindow"
    x:Name="PackedXamlView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    Cursor="Hand"
    Width="640" Height="420"
    Title="Packed XAML Sample">
    <sdk:TabControl x:Name="SampleTabControl"
        HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
        TabStripPlacement="Bottom">
        <sdk:TabItem Header="{Binding Title, ElementName=PackedXamlView}">
            <ContentPresenter x:Name="SamplePresenter" />
        </sdk:TabItem>
        <sdk:TabItem Header="XAML Source">
            <TextBox x:Name="SampleXamlSource"
                FontFamily="Courier New"
                FontSize="14"
                HorizontalScrollBarVisibility="Auto"
                VerticalScrollBarVisibility="Auto"
                />
        </sdk:TabItem>
    </sdk:TabControl>
</controls:ChildWindow>
